package cn.fzkj.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.fzkj.common.utils.PageUtils;
import cn.fzkj.gulimall.product.entity.CategoryBrandRelationEntity;

import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author chenxin
 * @email chenxin@gmail.com
 * @date 2022-02-19 22:47:31
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);

    // 更新品牌名称【品牌名称发生变更，关联表中的名称也需要变更】
    void updateBrandCascade(Long brandId, String name);
}

